import Vue from 'vue'
import Router from 'vue-router'

import User from '@/components/User'

Vue.use(Router)
export default new Router({
    routes: [
        // {path: '/', redirect: '/login'},
        // {
        //     path: '/login',
        //     name: 'login',
        //     component: Login
        // },
        // {
        //     path: '/home',
        //     name: 'home',
        //     component: Home,
        //     children:[
        //         {
        //             path: '/home/government-assets',
        //             name: 'governmentassets',
        //             component: GovernmentAssets,
        //         },
        //         {
        //             path: '/home/user-center',
        //             name: 'usercenter',
        //             component: UserCenter
        //         }
        //     ]
        // },
        // { path:"*",redirect: "/login"}
      {
        path: '/',
        name: 'User',
        component: User
      }
    ],
    // mode: 'history'
})
